This code uses the TimeCode media services of QuickTime to add TimeCode readouts to a movie
There are occasional redraw problems with the MovieController when the time code track is removed from the movie whilst the movie is actually playing (stopping the movie allows the MovieController to redraw properly). Ideally the movie should be stopped when removing the TimeCode track.
The code that would save the new time code track to the movie is commented out but present
A QTSession.open will perform a gestalt check to ensure that QuickTime is present and is initialized. This is a required call before any QuickTime Java classes can be used.
When the user closes the window the program will quit, first calling QTSession.close to terminate QuickTime. It is necessary for programs to call QTSession.close if they have previously called QTSession.open in order to shut down QuickTime properly.